package com.djdg.foodies.common.util;

/**
 * @Description: redis key
 * @Auther Demon
 * @Date 2018/1/2 15:33 星期二
 */
public class RedisKeyUtil {

    // 手机验证码key
    public static String getVerificationCodeKey(String mobile) {
        return String.format("verification:code:%s", mobile);
    }
    // 登录token
    public static String getUserTokenKey(String token) {
        return String.format("user:token:%s", token);
    }

}
